package com.example.chapter06;

public class Metalwork {
    public static void main(String[] args) {
//必须在挣态上下文中定义才能使用方法引用
        Operation twist = new Operation() {
            @Override
            public void execute() {
                Operation.show("Twist");
            }
        };

    }
}
